import defaultSettings from "@/settings";

export default function setPageTitle(routerTitle) {
  window.document.title = routerTitle
    ? `${routerTitle} | ${defaultSettings.title}`
    : `${defaultSettings.title}`;
}
